@import "./assets/muli/stylesheet.css";
@import "./assets/valkyrie_a/stylesheet.css";
@import "./assets/concourse_3/stylesheet.css";
@import "./assets/source-code-pro/stylesheet.css";
@import "./style-code.css";

html {
  padding: 0;
  margin: 0;
  scrollbar-color: rgba(169, 173, 175, 0.77) transparent;
}

body {
  font-family: 'Muli', "Helvetica Neue", sans-serif;
  padding: 0;
  margin: 0;
  font-size: 16px;
  text-align: center;
  background-color: #090A0B;

  letter-spacing: 0;

  overflow: auto;
  overflow: overlay;
  scrollbar-width: thin;
  --color-grey: #979797;
  --color-header: white;
  --color-text: #bbbbbb;
  --color-text-selection-bg: #0062b6;
  --color-text-selection: white;

  --color-content-text-bg: #F3F3F3;

  --context-text-color: black;
  --context-text-link-color: #4279dd;

  /*--color-text: #E3ECF0;*/
  --color-link: #F35828;
  --color-orange: #F35828;
  --color-link-active: #F35828;
  --color-link-hover: #F35828;

  box-sizing: border-box;

  color: var(--color-text);
}

html, body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
}

.content-text-dark {
  --color-content-text-bg: #0F1217;
  --context-text-link-color: #5da2de;
}

html, * {
  scrollbar-color: #3b3e3f transparent;
}

*::-webkit-scrollbar {
  height: 11px;
  width: 11px;
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: rgba(169, 173, 175, 0.27);
  border-radius: 8px;
  border: 2px solid rgba(0, 0, 0, 0.01);
  background-clip: padding-box;

  &:hover {
    background: #727475;
    border: 2px solid rgba(0, 0, 0, 0.01);
    background-clip: padding-box;
  }
}

html, body {
  height: 100%;
}

h1[id], h2[id], h3[id], h4[id], h5[id], h6[id], h7[id], a[name] {
  position: relative;
  scroll-margin-top: 84px;
}

* {
  box-sizing: border-box;
}

:not(input, textarea)::selection {
  background: #0062b6;
  color: white;
}

span.highlight {
  color: var(--color-orange);
}

.fadeIn {
  --delay: 0s;
  animation: fadeInAnimation ease 2s;
  animation-iteration-count: 1;
  position: relative;
  opacity: 0;
  top: -10px;
  animation-fill-mode: forwards;
  animation-delay: var(--delay);
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
    top: -10px;
  }
  100% {
    opacity: 1;
    top: 0;
  }
}

.fancy-hover {
  position: relative;
  display: block;
  overflow: hidden;
  transform: translateZ(0);
  cursor: pointer;

  > * {
    position: relative;
  }

  &::before {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border-radius: 3px;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    background-color: var(--color-orange);
    -webkit-transform: translateX(-110%) skew(-10deg);
    transform: translateX(-110%) skew(-10deg);
  }

  &:hover::before {
    -webkit-transform: scaleX(1.3) translateX(0) skew(-10deg);
    transform: scaleX(1.3) translateX(0) skew(-10deg);
  }

}


.video-js .vjs-tech:focus {
  outline: 0;
}

.text-grey {
  color: var(--text-grey);
}

a, a:link {
  text-decoration: none;
  color: var(--color-link);
}

code {
  font-family: "Source Code Pro", monospace;
  font-size: 90%;
  white-space: pre-line;
  font-style: italic;
  /*letter-spacing: 1px;*/
  /*color: #555;*/
  /*font-weight: 600;*/
}

pre > code {
  display: block;
  white-space: pre-wrap;
}

.big-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, auto));
  grid-gap: 50px;
  grid-auto-rows: 1fr;
}

table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 13px;

  td, th {
    padding: 4px 3px;
    vertical-align: top;
  }

  tr:nth-child(odd) td {
    background-color: rgba(55, 33, 13, 0.05);
  }

  tr:nth-child(even) td {
    background-color: rgba(33, 33, 33, 0.02);
  }

  tr:hover td {
    background-color: rgba(70, 70, 70, 0.16);
  }

  th {
    font-weight: bold;
    font-size: 12px;
    border-bottom: 1px solid #6e6e6e;
  }
}

input, select, textarea {
  background-color: #1f1f1f;
  border: 1px solid #252525;
  border-radius: 4px;
  color: white;
  padding: 5px 8px;
  font-size: 14px;
  line-height: 16px;

  /*we cant use `Muli` since it doesn't support entering multiple backticks*/
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-variation-settings: normal;
  font-feature-settings: normal;

  scrollbar-color: rgba(169, 173, 175, 0.77) transparent;

  &::-webkit-scrollbar {
    height: 11px;
    width: 11px;
    background: transparent;
  }

  &::-webkit-scrollbar-thumb {
    background: rgba(169, 173, 175, 0.57);
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.01);
    background-clip: padding-box;

    &:hover {
      background: #727475;
      border: 2px solid rgba(0, 0, 0, 0.01);
      background-clip: padding-box;
    }
  }

  &:focus {
    outline: none;
    border-color: var(--color-orange);
  }
}

pre.codeHighlight[title] {
  &::before {
    display: block;
    text-align: center;
    content: attr(title);
    margin-bottom: 5px;
    color: #ddd;
    font-style: italic;
  }
}

h3.text {
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 180%;
  color: #C5C5C5;
  max-width: 900px;
  margin: auto;
}

.app-boxes,
.app-boxes-small {
  display: grid;
  grid-gap: 45px;
  grid-auto-columns: auto;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

.app-boxes-small {
  grid-gap: 40px;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  color: var(--color-grey);

  font-size: 14px;

  .app-box {
    padding: 15px 20px;
    border-radius: 3px;
    border: 1px solid rgba(57, 56, 65, 0.60);
    background: linear-gradient(180deg, #191B1E 0%, #141617 100%);
    box-shadow: 0px 2px 20px 0px rgba(18, 18, 18, 0.50);
  }

  .title {
    color: #c9c9c9;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
  }
}

.app-box {
  border-radius: 6px;
  border: 1px solid rgba(48, 48, 48, 0.50);
  background: rgba(15, 15, 15, 0.40);

  text-align: left;

  &.hover:hover, &:focus {
    cursor: pointer;
    border-color: var(--color-orange);
  }
}

codebox,
pre.code {
  font-family: 'Source Code Pro', monospace;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;

  border-radius: 6px;
  border: 1px solid rgba(48, 48, 48, 0.50);
  background: rgba(15, 15, 15, 0.40);
  color: var(--color-text);
  padding: 16px;
  text-align: left;

  max-width: 100%;
  overflow: auto;
  overflow: overlay;
  @supports not (-webkit-hyphens: none) {
    /* in safari this breaks scrolling styling, so we need to exclude it*/
    scrollbar-width: thin;
  }
  user-select: text !important;
  -webkit-user-select: text !important;
  cursor: text !important;

  @media (max-width: 800px) {
    padding: 12px;
  }

  * {
    user-select: text !important;
    -webkit-user-select: text !important;
    cursor: text !important;
  }

  scrollbar-color: rgba(169, 173, 175, 0.77) transparent;

  &::-webkit-scrollbar {
    height: 11px;
    width: 11px;
    background: transparent;
  }

  &::-webkit-scrollbar-thumb {
    background: rgba(169, 173, 175, 0.57);
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.01);
    background-clip: padding-box;

    &:hover {
      background: #727475;
      border: 2px solid rgba(0, 0, 0, 0.01);
      background-clip: padding-box;
    }
  }
}

codebox {
  padding: 0;
}

.scroll-small {
  overflow: auto;
  overflow: overlay;
  scrollbar-color: rgba(169, 173, 175, 0.77) transparent;

  &::-webkit-scrollbar {
    height: 12px;
    width: 12px;
    background: transparent;
  }

  &::-webkit-scrollbar-thumb {
    background: rgba(169, 173, 175, 0.77);
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.01);
    background-clip: padding-box;

    &:hover {
      background: #727475;
      border: 2px solid rgba(0, 0, 0, 0.01);
      background-clip: padding-box;
    }
  }
}

h1, h2, h3, h4, h5, h6, h7 {
  font-style: normal;
  color: var(--color-header);
}

h1 {
  font-size: 48px;
  font-weight: 300;
  line-height: 120%;
}

h2 {
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

hr {
  height: 1px;
  border: 0;
  background: rgba(221, 221, 221, 0.42);
  margin: 25px 0;
}

a, a:link {
  &:hover {
    color: var(--color-orange);
    text-decoration: underline;
  }
}

main, .wrapper {
  margin: auto;
  max-width: 1000px;

  @media (max-width: 1020px) {
    padding: 0 10px;
  }
}

.tagline {
  max-width: 652px;
  font-size: 16px;
  line-height: 26px;
}

.text-page {
  max-width: 720px;
  margin: 55px auto;
  padding: 0 20px;
}

pre.console {
  padding: 24px 14px;
  border-radius: 8px;
  background: #EEEEEE;
}

.app-note {
  padding: 15px 20px;
  background: #171B1E;
  font-size: 14px;
}

.app-tag {
  border-radius: 8px;
  background: #171B1E;
  padding: 3px 13px;
  font-size: 12px;
  line-height: 16px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.app-pre-headline {
  font-style: italic;
  color: #999;
}

.logo-container {
  display: flex;
  align-items: center;
  height: 80px;
}

.app-content,
.app-content-full {
  position: relative;
  text-align: left;
  font-size: 16px;
  line-height: 160%;
  max-width: 840px;
  overflow: visible;
  flex: 1;
  padding: 25px 12px;

  img {
    max-width: 100%;
  }
}

.content-text {
  font-family: valkyrie_a, Georgia, serif;
  font-size: 16px;
  line-height: 140%;
}

.content-text-sans-serif {
  font-family: "Muli", "Helvetica Neue", sans-serif;
}

html body .normalize-text.dark {
  --color-header: white;
  --color-text: #dddddd;
  --color-text-selection-bg: #0062b6;
  --color-text-selection: white;
  --context-text-color: #ccc;
}

html body .normalize-text {
  max-width: 78ch;
  --color-header: var(--context-text-color);
  --color-text: var(--context-text-color);
  color: var(--color-text);

  :not(input, textarea)::selection {
    background: var(--color-text-selection-bg);
    color: var(--color-text-selection);
  }

  a, a:link {
    color: var(--context-text-link-color);
    text-decoration: none;

    &:hover, &:active {
      text-decoration: underline;
    }
  }

  ol, ul {
    text-align: left;
    padding-left: 18px;
    margin-left: 0;
  }

  li, li p {
    padding: 0;
    margin: 0;
    text-align: left;
  }

  li {
    padding: 3px 0;
  }

  p {
    margin: 14px 0;
  }

  pre {
    padding: 14px 16px !important;
    margin: 0 !important;
    border-radius: 4px;
    font-size: 13px;
    background: white;
    box-shadow: 0 0 4px #dadada8c;
    border: 0;

    code {
      color: var(--color-text);
      font-style: normal;
      overflow: hidden !important;
    }
  }

  &.dark pre {
    background: #1f1f1f;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.05);
    border: 0;
  }

  h1, h2, h3, h4, h5 {
    margin: 5px 0;
  }

  highlight-code {
    width: 100%;
    display: block;
  }

  h1 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  h2 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    margin-top: 16px;
    margin-bottom: 12px;
  }

  h3, h4 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
  }
}

.app-box {
  border-radius: 3px;
  border: 1px solid rgba(57, 56, 65, 0.60);
  background: linear-gradient(180deg, #1E2124 0%, #141617 100%);
  box-shadow: 0px 2px 20px 0px rgba(18, 18, 18, 0.50);
  padding: 25px 28px;
}

.app-box-transparent {
  border-radius: 3px;
  border: 1px solid rgba(57, 56, 65, 0.60);
}

.app-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 0;
  border-bottom: 1px solid #2B2B2B;
  background: radial-gradient(85.21% 100% at 50% 0%, #0E1217 0%, #111213 100%);

  &.left {
    text-align: left;
    align-items: start;
  }

  color: var(--color-text);
  line-height: 200%;

  .wrapper {
    max-width: 810px;
  }

  img.deepkit {
    width: 192px;
    height: 32px;
    margin-bottom: 24px;
  }

  h1 {
    margin: 0;
    color: #F9EDDF;
    font-size: 48px;
    font-style: normal;
    font-weight: 300;
    line-height: 120%; /* 57.6px */
  }

  h2 {
    margin: 0;
    color: #F9EDDF;
    font-size: 32px;
    font-style: normal;
    font-weight: 300;
    line-height: 50px;
  }
}

.app-content-full {
  max-width: unset;
}

button, a.button, a.button:link {
  user-select: none;
  display: inline-block;

  border-radius: 6px;
  background: #181c23;
  border: 1px solid #2b2b2b;

  padding: 6px 20px 8px;
  text-align: center;
  color: white;
  font-size: 14px;
  line-height: 16px;

  &.big {
    letter-spacing: 1px;
    padding: 12px 40px;
  }

  &:hover {
    cursor: pointer;
    color: white;
    text-decoration: none;
  }

  &:hover {
    background: #494f53;
    border-color: #494f53;
  }

  &:active {
    background: #1a1615;
  }

  &.plain {
    background: transparent;
  }
}

button.primary,
a.button.primary {
  background: #FF662A;

  &:hover {
    cursor: pointer;
    color: white;
    text-decoration: none;
    background: #b54116;
  }

  &:active {
    background: #9b3510;
  }
}

.page {
  .feature-text {
    font-size: 15px;
    margin-top: 25px;
    font-weight: 400;
    line-height: 200%; /* 30px */
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
  }

  @media (max-width: 880px) {
    .app-content {
      margin-right: 0 !important;
    }

    codebox {
      margin-right: 0 !important;
    }

    .table-of-content {
      display: none;
    }
  }

}

/*nav {*/
/*  a, a:link {*/
/*    display: block;*/
/*    color: #E3ECF0;*/
/*    font-weight: 500;*/
/*    text-decoration: none;*/
/*    font-size: 13px;*/

/*    &:hover {*/
/*      text-decoration: none;*/
/*      color: var(--color-link-hover);*/
/*    }*/

/*    &.active {*/
/*      font-weight: bold;*/
/*      color: var(--color-link-active);*/
/*    }*/
/*  }*/
/*}*/


.buttons {
  display: flex;
  align-items: center;
  padding: 5px 0;

  > * {
    margin: 0 5px;

    &:first-child {
      margin-left: 0;
    }

    &:last-child {
      margin-right: 0;
    }
  }
}

.banner-features {
  display: flex;
  margin: 60px auto;

  > div {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    text-align: center;

    h3 {
      flex: 0 0 30px;
    }

    > div {
      padding: 25px;
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    &:not(:first-child) {
      > div {
        border-left: 1px solid #54545466;
      }
    }
  }

  @media (max-width: 660px) {
    display: block;
    > div {
      &:not(:first-child) {
        > div {
          border-left: 0 !important;
        }
      }
    }
  }
}


.cards {
  display: grid;
  grid-gap: 45px;
  grid-auto-columns: auto;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));

  &.links .card {
    background: #FFFFFF;
    box-shadow: 0 0 16px rgb(0 0 0 / 13%);

    &:hover {
      box-shadow: 0 0 16px rgb(0 0 0 / 23%);
      background-color: #f9f9f9;
    }
  }
}

.card {
  background: #FAFAFA;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.20);
  border-radius: 5px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  &:link:hover {
    text-decoration: none;
  }

  h4 {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
  }

  p {
    font-size: 13px;
  }
}

.image {
  img {
    max-width: 100%;
  }

  @media (max-width: 540px) {
    text-align: center;
  }
}

.benchmark-link {
  text-align: right;
  font-size: 13px;
}

.app-examples {
  display: grid;
  grid-gap: 25px;
  grid-auto-columns: auto;
  grid-auto-rows: 1fr;
  grid-template-columns: 1fr 1fr 1fr;

  @media (max-width: 900px) {
    grid-template-columns: 1fr 1fr;
  }

  @media (max-width: 700px) {
    grid-template-columns: 1fr;
  }

  &.small {
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;

    @media (max-width: 700px) {
      grid-template-columns: 1fr;
    }

    .app-example-item {
      padding: 10px 12px;
      font-size: 14px;
    }
  }

  .app-example-item {
    display: block;
    border-radius: 3px;
    border: 1px solid rgba(52, 52, 52, 0.69);
    background: rgba(34, 34, 34, 0.19);
    padding: 12px 15px;
    color: var(--color-text);
    font-size: 14px;
    text-align: left;

    &:hover {
      background: rgba(34, 34, 34, 0.29);
      border: 1px solid rgba(108, 108, 108, 0.69);
      text-decoration: none;
      color: var(--color-link);
    }

    &:active {
      background: rgb(17, 17, 17);
    }
  }
}

.app-search-field {
  position: relative;
  flex-direction: row;
  height: 28px;
  justify-content: center;
  align-items: center;
  margin: auto;
  width: 150px;
  z-index: 2001;
  max-width: 100%;
  transition: width 0.2s ease-in-out;

  input {
    width: 100%;
    padding-right: 25px;
    height: 100%;
  }

  img {
    position: absolute;
    right: 4px;
    top: calc(50% - 9px);
  }
}

.app-search-result-item {
  text-align: left;
  border-bottom: 1px solid #282828;
  padding: 15px 10px;
  overflow: hidden;

  &:hover {
    background-color: rgba(26, 26, 26, 0.87);
    cursor: pointer;
  }

  .path {
    color: #a2a2a2;
    font-size: 12px;
  }

  .title {
    margin: 5px 0;
    color: white;
  }

  .content {
    font-size: 14px;
  }
}

.app-product {
  text-align: center;
  margin-top: 150px;

  p {
    max-width: 800px;
    margin: 15px auto;
    font-size: 15px;
    line-height: 200%;
  }
}

.about-us-image {
  img {
    max-width: 250px;
  }

}

html body dui-table pre.code {
  padding: 0 !important;
  background: unset !important;
  box-shadow: none !important;
  font-size: 12px !important;
}

.dui-normalized {
  h1, h2, h3, h4, h5, h6 {
    color: unset !important;
  }
}

dui-window-frame {
  background-color: #000;
  background-image: url(/assets/desktop-ui/bg.png);
  background-repeat: no-repeat;
  background-position: center center;
  padding: 50px;
  height: 250px;

  dui-window {
    box-shadow: 0 15px 22px 0 rgb(0 0 0 / 21%);
    border-radius: 4px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    background: var(--dui-window-content-bg-trans) !important;
  }
}

body .codex-editor {
  .ce-popover__items {
    overflow: hidden;
  }

  .ce-inline-tool-input {
    color: black;
  }
}

/*  .ce-inline-toolbar,*/
/*  .codex-editor--narrow .ce-toolbox,*/
/*  .ce-conversion-toolbar,*/
/*  .ce-settings,*/
/*  .ce-settings__button,*/
/*  .ce-toolbar__settings-btn,*/
/*  .cdx-button,*/
/*  .ce-popover,*/
/*  .ce-toolbar__plus {*/
/*    color: #9f9f9f;*/
/*  }*/

/*  .ce-popover {*/
/*    --color-border: #64646466;*/
/*    --color-background: #3e434c;*/
/*    --color-text-primary: #eee;*/
/*  }*/

/*  ::selection {*/
/*    background: #0062b6;*/
/*    color: white;*/
/*  }*/

/*  .cdx-settings-button:hover,*/
/*  .ce-settings__button:hover,*/
/*  .ce-toolbox__button--active,*/
/*  .ce-toolbox__button:hover,*/
/*  .cdx-button:hover,*/
/*  .ce-inline-toolbar__dropdown:hover,*/
/*  .ce-inline-tool:hover,*/
/*  .ce-popover__item:hover,*/
/*  .ce-toolbar__settings-btn:hover {*/
/*    background-color: #4d4d4d;*/
/*    color: #fff;*/
/*  }*/

/*  .cdx-notify--error {*/
/*    background: #fb5d5d !important;*/
/*  }*/

/*  .cdx-notify__cross::after,*/
/*  .cdx-notify__cross::before {*/
/*    background: #1a1a1a;*/
/*  }*/
/*}*/
